package ai.people.netmon.framework.domain.weibo.monitor.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhenglin
 * @since 2022-03-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName(schema = "weibo",value = "users")
public class WeiboUsers implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 微博用户数字ID
     */
    @JSONField(serializeUsing = ToStringSerializer.class)
    @TableId
    private Long userId;

    /**
     * 用户名称
     */
    private String name;


}
